package com.wxb.apple.service.impl;
/**
 * @author wangxianbo
 * @date 2020/1/18 001809:18
 */

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wxb.apple.entity.Moon;
import com.wxb.apple.mapper.MoonMapper;
import com.wxb.apple.service.MoonService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 @ClassName MoonServiceImpl
 通用service的使用方法
 **/
@Service
public class MoonServiceImpl extends ServiceImpl<MoonMapper,Moon> implements MoonService {

 /*
 *  返回 直接传给前段,就是json对象数据
 * */
 @Override
 public List<Map> getListMap() {
   return baseMapper.getList(null,null,null,null);
 }
}
